package gui;

import java.awt.Color;
import java.awt.Image;

import javax.swing.JFrame;

public class MainFrame extends JFrame {
	public MainPanel mp;
	public MainFrame(){
       setSize(700,800);
       setBounds(50, 20, 1200, 700);
       setBackground(Color.white);
       mp = new MainPanel();
       setContentPane(mp);
       setTitle("VideoTracking");
       setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
       setVisible(true);
	}
	
	public void drawImage(Image img){
		mp.drawImage(img);
	}

}
